/**
 * @FastJsonBusiMixedDecoder.java  COPYRIGHT xiaojian
 * 
 * Created on 2017年7月21日 上午9:37:01
 */
package xj.toolkit.access.busi.codec;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import com.alibaba.fastjson.JSON;

/**
 * @author <a href="mailto:cxj2000@gmail.com">xiaojian.cao</a>
 *
 */
public class FastJsonBusiMixedDecoder extends JsonBusiMixedDecoder {

	private static final Logger logger = LoggerFactory.getLogger(FastJsonBusiMixedDecoder.class);
	
	@Override
	protected Object parse(String jsonString, Class<?> clazz) {
		logger.debug("Parse string[{}], class[{}]", jsonString, clazz);
		return JSON.parseObject(jsonString, clazz);
	}

}
